build: Include SELinux cflags with libostree build too
authorMatthew Barnes <mbarnes@redhat.com>
Mon, 20 Oct 2014 15:06:51 +0000 (11:06 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Mon, 20 Oct 2014 19:23:55 +0000 (15:23 -0400)
This is likely another issue with newer automake.

https://bugzilla.gnome.org/738875

Makefile-libostree.am

index 4d1f9019913cdef5bfb278ca0a7300f49ef110a2..57408fef0ae864d8fcb0bc900d5eef56e2480c0e 100644 (file)
@@ -123,6 +123,11 @@ libostree_1_la_CFLAGS += $(OT_INTERNAL_SOUP_CFLAGS)
 libostree_1_la_LIBADD += $(OT_INTERNAL_SOUP_LIBS)
 endif
 
+if USE_SELINUX
+libostree_1_la_CFLAGS += $(OT_DEP_SELINUX_CFLAGS)
+libostree_1_la_LIBADD += $(OT_DEP_SELINUX_LIBS)
+endif
+
 if BUILDOPT_INTROSPECTION
 OSTree-1.0.gir: libostree-1.la Makefile
 OSTree_1_0_gir_EXPORT_PACKAGES = ostree-1